import java.util.Scanner;

public class demo04 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入你的名字");
        String str=sc.next();
        System.out.println("请输入你的java成绩");
        double j= sc.nextDouble();
        System.out.println("请输入你的mysql成绩");
        double m= sc.nextDouble();
        System.out.println("请输入你的html成绩");
        double h= sc.nextDouble();
        System.out.println("请输入你的javascript成绩");
        double j1= sc.nextDouble();

        double avg=(j+m+h+j1)/4;
        System.out.println(str+"你的平均成绩为："+avg);
    }
}
